package com.ppch.wuwamanus.tools;

import org.springframework.ai.tool.annotation.Tool;

/**
 * Package:ppch-ai-agent
 * ClassName:TerminateTool
 *
 * @Author 泡泡茶壶
 * @Create 2025/7/31 20:56
 * @Version 1.0
 * Description:
 * 智能体终止执行工具
 */
public class TerminateTool {
    @Tool(description = """
            When the user's request is fulfilled and the interaction is terminated, 
            or the assistant cannot continue, or the program detects that the agent is in an infinite loop state, 
            please immediately call this tool to end the work.
            """)
    public String doTerminate() {
        return "Finish the current execution";
    }
}
